package com.charon.message;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @ClassName: CharonMessageApplication
 * @Description: TODO
 * @Author Charon [248135724@qq.com]
 * @Date 2019/1/27 21:49
 * @Version V 1.0
 */
@SpringBootApplication
//注册当前项目到服务注册
@EnableDiscoveryClient
//关闭数据库自动配置
@EnableAutoConfiguration(exclude = DataSourceAutoConfiguration.class)
public class CharonMessageApplication {

    public static void main(String[] args) {
        SpringApplication.run(CharonMessageApplication.class, args);
    }

}
